﻿// Copyright (c)  YISH. All rights reserved.
// Licensed under the MIT License, See License.txt in the project root for license information.

namespace NSQL.Expressions
{
    public interface IUnaryExpression : INumericExpression, IIntegerExpression
    {
        UnaryOperator Operator { get; }
        INumericExpression Expr { get; }
    }

    public enum UnaryOperator
    {
        /// <summary>
        /// operator: +
        /// </summary>
        Plus,

        /// <summary>
        /// operator: -
        /// </summary>
        Minus,
    }
}